| Einhugur Xml Serialization Framework for Einhugur Xml Plugin |
|
XmlSerializer.Serialize Method
Serialises a class structure
shared Serialize(
item
as Object,
rootName
as String)
as EinhugurXml.Document
Parameters
- item
- The item to be serialized
- rootName
- name of the root.
Returns
- EinhugurXml.Document
- Returns EinhugurXml.Document with the serialised class structure.
Remarks
All classes that are serialized must have a default constructor that has no parameters.
var xmlDoc as EinhugurXml.Document = XmlSerialization.XmlSerializer.Serialize(facility1,"Facility")
See Also
XmlSerializer Class